package com.atguigu.model.vo.base;

import com.atguigu.model.vo.menu.SysMenuQueryTreeRespVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * TreeRespBaseVo
 * </p>
 *
 * @author flyduck
 * @since 2023/10/26
 */
@Data
public class TreeRespBaseVo<T extends TreeRespBaseVo> extends QueryRespBaseVo{

    @ApiModelProperty(value = "所属上级")
    private Long parentId;

    @ApiModelProperty(value = "下级列表")
    private List<T> children;
}
